import requests

my_session = requests.session()
my_session.get(url="http://tpshop-test.itheima.net/index.php?m=Home&c=User&a=verify&r=0.8972131659952187")
resp = my_session.post(url="http://tpshop-test.itheima.net/index.php?m=Home&c=User&a=do_login&t=0.43176122641230474",
                       headers={"Content-Type": "application/x-www-form-urlencoded"},
                       data={"username": "13800000006",
                             "password": "123456",
                             "verify_code": "8888"})
print(resp.json())



list1 = []
list2 = [{'a': 1, 'b': 2, 'c': 3}, {'a': 4, 'b': 5, 'c': 6}, {'a': 7, 'b': 8, 'c': 9}]
for n in list2:
    my_list = []
    for value in n.values():
        my_list.append(value)
    list1.append(tuple(my_list))
print(list1)
